package com.thinta.wind.ui.community

import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.ViewDataBinding
import androidx.lifecycle.ViewModelProvider

import com.thinta.wind.R
import com.thinta.wind.base.BaseFragment
import com.thinta.wind.base.ViewModelFactory
import com.thinta.wind.databinding.CommFragmentBinding
import com.thinta.wind.databinding.CommFragmentBindingImpl

class CommFragment : BaseFragment<CommViewModel, CommFragmentBinding>() {

    companion object {
        fun newInstance() = CommFragment()
    }


    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)
    }

    override fun viewModelClass() = CommViewModel::class.java

    override fun getLayoutId() = R.layout.comm_fragment

    override fun afterCreate() {
        Log.e("TAT", "CommFragment")
    }

    override fun getModelFactory(): ViewModelProvider.NewInstanceFactory = ViewModelFactory()

}
